package MicroSpring.applicationContext;

import MicroSpring.beanPostProcessor.BeanPostProcessor;

/*
    bean生命周期
 */
public interface BeansLifeCycle {

    //实例化beans
    default void instantiationBeans(){};

    default void dependcyInject(BeanPostProcessor beanPostProcessor, String beanName, Object bean){};

    //初始化Beans
    default void initializationBean(String beanName,Object bean){};

    //销毁Beans
    default void destructionBeans(){};
}
